package com.malty.mall.domain.entity.ums;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author malty
 */
@Data
@NoArgsConstructor
@TableName("ums_admin_role_relation")
public class UmsAdminRoleRelation {
    private Integer id;
    private Integer adminId;
    private Integer roleId;
    private Date createTime;

    public UmsAdminRoleRelation(Integer uid, Integer roleId) {
        this.adminId = uid;
        this.roleId = roleId;
    }
}
